package org.tempuri;

public class IZMES_CDHT_PH_SERVICEProxy implements org.tempuri.IZMES_CDHT_PH_SERVICE {
  private String _endpoint = null;
  private org.tempuri.IZMES_CDHT_PH_SERVICE iZMES_CDHT_PH_SERVICE = null;
  
  public IZMES_CDHT_PH_SERVICEProxy() {
    _initIZMES_CDHT_PH_SERVICEProxy();
  }
  
  public IZMES_CDHT_PH_SERVICEProxy(String endpoint) {
    _endpoint = endpoint;
    _initIZMES_CDHT_PH_SERVICEProxy();
  }
  
  private void _initIZMES_CDHT_PH_SERVICEProxy() {
    try {
      iZMES_CDHT_PH_SERVICE = (new org.tempuri.ZMES_CDHT_PH_SERVICELocator()).getBasicHttpBinding_IZMES_CDHT_PH_SERVICE();
      if (iZMES_CDHT_PH_SERVICE != null) {
        if (_endpoint != null)
          ((javax.xml.rpc.Stub)iZMES_CDHT_PH_SERVICE)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
        else
          _endpoint = (String)((javax.xml.rpc.Stub)iZMES_CDHT_PH_SERVICE)._getProperty("javax.xml.rpc.service.endpoint.address");
      }
      
    }
    catch (javax.xml.rpc.ServiceException serviceException) {}
  }
  
  public String getEndpoint() {
    return _endpoint;
  }
  
  public void setEndpoint(String endpoint) {
    _endpoint = endpoint;
    if (iZMES_CDHT_PH_SERVICE != null)
      ((javax.xml.rpc.Stub)iZMES_CDHT_PH_SERVICE)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
    
  }
  
  public org.tempuri.IZMES_CDHT_PH_SERVICE getIZMES_CDHT_PH_SERVICE() {
    if (iZMES_CDHT_PH_SERVICE == null)
      _initIZMES_CDHT_PH_SERVICEProxy();
    return iZMES_CDHT_PH_SERVICE;
  }
  
  public org.datacontract.schemas._2004._07.ZMES_CDHT_PH_SERVICE.ZMES_PH_SERVICE_RETURN_TYPE getWL(java.lang.String wlph) throws java.rmi.RemoteException{
    if (iZMES_CDHT_PH_SERVICE == null)
      _initIZMES_CDHT_PH_SERVICEProxy();
    return iZMES_CDHT_PH_SERVICE.getWL(wlph);
  }
  
  
}